import request from "@/util/request.js"

export function getWxAppSession(param) {
	return request({
		url: '/iot/thirdParty/user/getWxAppSession',
		method: 'post',
		data: param
	})
}

export function bindUser(param) {
	return request({
		url: '/iot/thirdParty/user/bindUser',
		method: 'post',
		data: param
	})
}

export function listThirdPartyUserByOpenid(param) {
	return request({
		url: '/iot/thirdParty/user/listByOpenid',
		method: 'post',
		data: param
	})
}

export function deleteBindByOpenid(param) {
	return request({
		url: '/iot/thirdParty/user/deleteByOpenid',
		method: 'post',
		data: param
	})
}
